Carbon


SetControlMinimum

Header: Controls.h Carbon status: Supported

Changes the minimum setting of a control and redraws its indicator or scroll box accordingly.

void SetControlMinimum (
    ControlRef theControl, 
    SInt16 newMinimum
);
Parameter descriptions
theControl

A handle to the control whose minimum setting you wish to change.

newMinimum

The new minimum setting.

DISCUSSION

The SetControlMinimum function changes the contrlMin field of the control structure to the setting you specify in the newMinimum parameter and redraws its indicator or scroll box to reflect its new range.

When you create a control, you specify an initial minimum setting either in the control resource or in the min parameter of the NewControl function . To obtain a control’s current minimum setting, use the function GetControlMinimum.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)